package com.imc.beans;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * ImcMessageStateSgin entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "imc_message_state_sgin", catalog = "imcdbserver", uniqueConstraints = @UniqueConstraint(columnNames = {
		"dst", "msg_guid" }))
public class ImcMessageStateSgin implements java.io.Serializable {

	// Fields

	private long imssId;
	private Integer dst;
	private Integer src;
	private String msgGuid;
	private Integer recvState;
	private Date recvDate;

	// Constructors

	/** default constructor */
	public ImcMessageStateSgin() {
	}

	/** full constructor */
	public ImcMessageStateSgin(Integer dst, Integer src, String msgGuid,
			Integer recvState, Date recvDate) {
		this.dst = dst;
		this.src = src;
		this.msgGuid = msgGuid;
		this.recvState = recvState;
		this.recvDate = recvDate;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "imss_id", unique = true, nullable = false)
	public long getImssId() {
		return this.imssId;
	}

	public void setImssId(long imssId) {
		this.imssId = imssId;
	}

	@Column(name = "dst")
	public Integer getDst() {
		return this.dst;
	}

	public void setDst(Integer dst) {
		this.dst = dst;
	}

	@Column(name = "src")
	public Integer getSrc() {
		return this.src;
	}

	public void setSrc(Integer src) {
		this.src = src;
	}

	@Column(name = "msg_guid", length = 20)
	public String getMsgGuid() {
		return this.msgGuid;
	}

	public void setMsgGuid(String msgGuid) {
		this.msgGuid = msgGuid;
	}

	@Column(name = "recv_state")
	public Integer getRecvState() {
		return this.recvState;
	}

	public void setRecvState(Integer recvState) {
		this.recvState = recvState;
	}

	@Column(name = "recv_date", length = 19)
	public Date getRecvDate() {
		return this.recvDate;
	}

	public void setRecvDate(Date recvDate) {
		this.recvDate = recvDate;
	}

}